﻿using System;

namespace gbL.NetBoard.Examples.DoubleMVC
{
    class ConsoleOutputTarget : IOutputTarget
    {
        public void WriteLine(string format, params object[] args)
        {
            Console.WriteLine(format, args);
        }

        public void WriteLine(string line)
        {
            Console.WriteLine(line);
        }

        public void WriteLine()
        {
            WriteLine("");
        }

        public void Clear()
        {
            Console.Clear();
        }

        public void Write(string value)
        {
            Console.Write(value);
        }
    }
}
